package com.jsrj.domain;

import com.jsrj.common.annotation.Excel;
import com.jsrj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 【请填写功能名称】对象 pages
 * 
 * @author ruoyi
 * @date 2023-01-07
 */
public class Pages extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String gpath;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String query;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String type;

    /** $column.columnComment */
    private Long contentId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long pageType;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String categoryId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String title;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String subtitle;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String aBstract;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String coverImg;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String mainbody;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String author;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date timePublish;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date timeModify;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String tag;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String searchword;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long pv;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long like;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long update;

    public void setGpath(String gpath)
    {
        this.gpath = gpath;
    }

    public String getGpath()
    {
        return gpath;
    }
    public void setQuery(String query) 
    {
        this.query = query;
    }

    public String getQuery() 
    {
        return query;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setContentId(Long contentId) 
    {
        this.contentId = contentId;
    }

    public Long getContentId() 
    {
        return contentId;
    }
    public void setPageType(Long pageType) 
    {
        this.pageType = pageType;
    }

    public Long getPageType() 
    {
        return pageType;
    }
    public void setCategoryId(String categoryId) 
    {
        this.categoryId = categoryId;
    }

    public String getCategoryId() 
    {
        return categoryId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setSubtitle(String subtitle) 
    {
        this.subtitle = subtitle;
    }

    public String getSubtitle() 
    {
        return subtitle;
    }
    public void setABstract(String aBstract)
    {
        this.aBstract = aBstract;
    }

    public String getABstract()
    {
        return aBstract;
    }
    public void setCoverImg(String coverImg) 
    {
        this.coverImg = coverImg;
    }

    public String getCoverImg() 
    {
        return coverImg;
    }
    public void setMainbody(String mainbody) 
    {
        this.mainbody = mainbody;
    }

    public String getMainbody() 
    {
        return mainbody;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }
    public void setTimePublish(Date timePublish) 
    {
        this.timePublish = timePublish;
    }

    public Date getTimePublish() 
    {
        return timePublish;
    }
    public void setTimeModify(Date timeModify) 
    {
        this.timeModify = timeModify;
    }

    public Date getTimeModify() 
    {
        return timeModify;
    }
    public void setTag(String tag) 
    {
        this.tag = tag;
    }

    public String getTag() 
    {
        return tag;
    }
    public void setSearchword(String searchword) 
    {
        this.searchword = searchword;
    }

    public String getSearchword() 
    {
        return searchword;
    }
    public void setPv(Long pv) 
    {
        this.pv = pv;
    }

    public Long getPv() 
    {
        return pv;
    }
    public void setLike(Long like)
    {
        this.like = like;
    }

    public Long getLike()
    {
        return like;
    }
    public void setUpdate(Long update)
    {
        this.update = update;
    }

    public Long getUpdate()
    {
        return update;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("path", getGpath())
            .append("query", getQuery())
            .append("@type", getType())
            .append("contentId", getContentId())
            .append("pageType", getPageType())
            .append("categoryId", getCategoryId())
            .append("title", getTitle())
            .append("subtitle", getSubtitle())
            .append("abstract", getABstract())
            .append("coverImg", getCoverImg())
            .append("mainbody", getMainbody())
            .append("author", getAuthor())
            .append("timePublish", getTimePublish())
            .append("timeModify", getTimeModify())
            .append("tag", getTag())
            .append("searchword", getSearchword())
            .append("pv", getPv())
            .append("like", getLike())
            .append("update", getUpdate())
            .toString();
    }
}
